package com.cskaoyan.service;

import com.cskaoyan.bean.Category;
import com.cskaoyan.bean.CategoryL1;
import com.cskaoyan.bean.CategoryListBean;

import java.util.List;

/**
 * @author Tangyin
 * @description
 * @since 2022/05/07 13:29
 */

public interface AdminCategoryService {
    CategoryListBean list();

    Category update(Category category);

    Integer deleteByPrimaryId(Integer id);

    List<CategoryL1> select();

    int creat(Category category);
}
